From e71d659c42d2b287eef75426ac81be0efc09986e Mon Sep 17 00:00:00 2001 From: "chris@kneesaa.uk.xensource.com" Date: Fri, 4 Aug 2006 10:20:33 +0100 Subject: [PATCH] [qemu patches] Update patches for changeset 10929:4dd640c6ce57. Signed-off-by: Christian Limpach --- tools/ioemu/patches/qemu-fix-memset-args | 18 ++++++++++++++++++ tools/ioemu/patches/series | 1 + 2 files changed, 19 insertions(+) create mode 100644 tools/ioemu/patches/qemu-fix-memset-args diff --git a/tools/ioemu/patches/qemu-fix-memset-args b/tools/ioemu/patches/qemu-fix-memset-args new file mode 100644 index 0000000000..6fa83c22e5 --- /dev/null +++ b/tools/ioemu/patches/qemu-fix-memset-args @@ -0,0 +1,18 @@ +Index: ioemu/audio/audio.c +=================================================================== +--- ioemu.orig/audio/audio.c 2006-07-14 13:43:45.000000000 +0100 ++++ ioemu/audio/audio.c 2006-08-04 10:18:17.243240246 +0100 +@@ -597,11 +597,11 @@ + } + + if (info->sign) { +- memset (buf, len << info->shift, 0x00); ++ memset (buf, 0x00, len << info->shift); + } + else { + if (info->bits == 8) { +- memset (buf, len << info->shift, 0x80); ++ memset (buf, 0x80, len << info->shift); + } + else { + int i; diff --git a/tools/ioemu/patches/series b/tools/ioemu/patches/series index 4e4b48c508..ce2cf0b70a 100644 --- a/tools/ioemu/patches/series +++ b/tools/ioemu/patches/series @@ -38,3 +38,4 @@ vnc-access-monitor-vt xenstore-block-device-config xenstore-write-vnc-port qemu-allow-disable-sdl +qemu-fix-memset-args -- 2.30.2